<?php

$userid = get_loggedin_userid();

// Get variables
$friendid = get_input('friend_id');
$client_id = get_input('client_id');

like_drawing($userid, $friendid);

$result = check_whiteboard_favorite($userid, $friendid);

echo json_encode(export_result(200, $result));

?>